home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global h1, h2, h3
- set h1 to random(3)
- set h2 to random(3)
- set h3 to random(3)
- if h1 = 1 then
- set the visible of sprite 6 to 1
- set the visible of sprite 9 to 0
- else
- if h1 = 2 then
- set the visible of sprite 6 to 1
- set the visible of sprite 9 to 0
- else
- set the visible of sprite 6 to 0
- set the visible of sprite 9 to 0
- end if
- end if
- if h2 = 1 then
- set the visible of sprite 7 to 1
- set the visible of sprite 10 to 0
- else
- if h2 = 2 then
- set the visible of sprite 7 to 1
- set the visible of sprite 10 to 0
- else
- set the visible of sprite 7 to 0
- set the visible of sprite 10 to 0
- end if
- end if
- if h3 = 1 then
- set the visible of sprite 8 to 1
- set the visible of sprite 11 to 0
- else
- if h3 = 2 then
- set the visible of sprite 8 to 1
- set the visible of sprite 11 to 0
- else
- set the visible of sprite 8 to 0
- set the visible of sprite 11 to 0
- end if
- end if
- go("l")
- end
-